<div class="student-body" (window:resize)="onResize()">
  <div class="head-table-box">
    <div class="head-table">
      <table class="table">
        <thead [ngStyle]="{width:heightStyle.width}">
          <tr class="head">
            <th *ngFor="let item of headColum;index as index" (click)="orderList(item.code)" [ngStyle]="{position:sticky > 0&&index <  sticky? 'sticky':'static',left:getLeft(index)}">
              <div class="flex">
                <span [ngStyle]="{width:item.orderWidth+'px'}">{{item.name}}</span>
                <div class="order-icon" *ngIf="item.order">
                  <i class="icon683" [ngClass]="orderName === 'item.name asc'?'order-on':''"></i>
                  <i class="icon684" [ngClass]="orderName === 'item.name desc'?'order-on':''"></i>
                </div>
              </div>
            </th>
            <th *ngIf="isOperation">
              Operation
            </th>
          </tr>
        </thead>
      </table>
    </div>
  </div>
  <div class="body-table" [ngStyle]="heightStyle" (scroll)="scrollBody($event)">
    <table class="table">
      <tbody>
        <ng-content #tref></ng-content>
      </tbody>
    </table>
  </div>
  <!-- <div *ngFor="let item of data;index as index">
      <ng-template min-table></ng-template>
  </div> -->
</div>